{include 'public/header.php'}

<h3>注册</h3>


<form class="form-inline" id="searchForm" method="post" style="margin-bottom:20px;">
	<div class="row">
		<div class="col-xs-3">机器码</div>
		<div class="col-xs-3"><input type="text" name="register[machineCode][]" value="{$smarty.post.register.machineCode.0}"></div>
		<div class="col-xs-3"><input type="text" name="register[machineCode][]" value="{$smarty.post.register.machineCode.1}"></div>
		<div class="col-xs-3"><input type="text" name="register[machineCode][]" value="{$smarty.post.register.machineCode.2}"></div>
	</div>

	<div class="row" style="margin-top:20px;margin-bottom:20px;">
		<div class="col-xs-3">序列号</div>
		<div class="col-xs-3"><input type="text" name="register[snCode][]" value="{$smarty.post.register.snCode.0}"></div>
		<div class="col-xs-3"><input type="text" name="register[snCode][]" value="{$smarty.post.register.snCode.1}"></div>
		<div class="col-xs-3"><input type="text" name="register[snCode][]" value="{$smarty.post.register.snCode.2}"></div>
	</div>

	{if $error}
	<div class="row alert alert-danger">
		{$error}
	</div>

	{elseif $message}
	<div class="row alert alert-success">
		{$message}
	</div>
	{/if}
	<div class="row">
		<button class="btn btn-success">注册</button>
	</div>
</form>


{include 'public/footer.php'}